package cn.itcast.servlet;

import cn.itcast.domain.Student;
import cn.itcast.service.StudentService;
import cn.itcast.service.impl.StudentServiceImpl;
import org.junit.Test;

import java.util.List;

public class StuServlet {

private StudentService service = new StudentServiceImpl();

@Test
 public void findAll(){
    List<Student> students = service.findall();
    System.out.println(students);
}
}
